act of stupidity

Translations
акт глупости
His act of stupidity almost cost him his job.
Его акт глупости почти стоил ему работы.